package com.whminwei.edu.api.tchbase.client;

import com.whminwei.common.feign.decoder.FullHttpRspnConfig;
import com.whminwei.common.http.rspn.FullHttpResponse;
import com.whminwei.edu.api.tchbase.dto.fspn.BasicEduSchemeFspn;
import com.whminwei.edu.api.tchbase.dto.fspn.MainEduSchemeFspn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 人培方案
 *
 * @author wangy
 * @since 2024/4/26
 */
@FeignClient(name = "xzzg-pt-tch-base-service", contextId = "education-scheme-info", configuration = FullHttpRspnConfig.class)
public interface EducationSchemeClient {

    /**
     * 查询所有人培方案
     *
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.tchbase.dto.fspn.EduSchemeFspn>
     * @author wangy
     * @since 15:13 2024/4/26
     **/
    @PostMapping("/getBasicSchemeList")
    FullHttpResponse<BasicEduSchemeFspn> getBasicSchemeList();

    /**
     * 查询所有人培方案
     *
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.HBase.dto.fspn.MainEduSchemeFspn>
     * @author zhangjq
     * @since 2024/5/28
     */
    @PostMapping("/getMainSchemeList")
    FullHttpResponse<MainEduSchemeFspn> getMainSchemeList();
}
